package com.dlc.shop.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dlc.shop.bean.app.dto.UserCollectionShopDto;
import com.dlc.shop.bean.model.UserCollectionShop;
import com.dlc.shop.common.util.PageParam;
import com.dlc.shop.dao.UserCollectionShopMapper;
import com.dlc.shop.service.UserCollectionShopService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 用户店铺收藏记录
 *
 * @author LGH
 * @date 2019-09-25 15:38:30
 */
@Service
@AllArgsConstructor
public class UserCollectionShopServiceImpl extends ServiceImpl<UserCollectionShopMapper, UserCollectionShop> implements UserCollectionShopService {

    private final UserCollectionShopMapper userCollectionShopMapper;

    @Override
    public Page<UserCollectionShopDto> getUserCollectionShopPageByUserId(PageParam page, String userId, String shopName, Integer renovationType) {
        return userCollectionShopMapper.getUserCollectionShopPageByUserId(page,userId,shopName, renovationType);
    }
}
